package org.andao.core.config;



/**
 * 全局变量.
*
 * @author Seewo software - Marco.hu(huzhiguo@cvte.cn)
 * @build 2013-5-24下午12:07:10
 */
public final class Constants {
	
	private Constants(){}
	
	public static final String BOOLEAN_YES = "Y"; // boolean值：yes
	
	public static final String BOOLEAN_NO = "N"; // boolean值：no
	
	public static final String BOOLEAN_WAIT = "W";//boolean 等待
	
	public static final int BOOLEAN_TRUE = 1;    // 布尔值：true
	
	public static final int BOOLEAN_FALSE = 0;   // 布尔值：false
	
	public static final boolean BOOLEAN_TURE_VALUE = true;
	
	public static final boolean BOOLEAN_FALSE_VALUE = false;
	
	public static final String REQUEST_REDIRECT = "redirect:"; // 请求重转发	
	/*请使用 FileUriContext.instance.get** */	
	//public static final String ANDAO_DATAS_LOCALROOTPATH = ConfigPropertyReader.getInstance().getProperty("web.uploadfile.rootpath");//文件本地存放路径
	
	//public static final String ANDAO_DATAS_LOCALROOTPATH_VITUAL = ConfigPropertyReader.getInstance().getProperty("web.uploadfile.rooturl");//文件本地存放路径
	
	public static final String ANDAO_CACHE_WEBROOTPATH = System.getProperty("app.root");//缓存根目录
	
	//public static final String SHARED_FILE_URL = "share//attaches//";

	public static final double DEFAULTSCORE = 5;

	public static final int COLLECT_NORMAL = 0;

	public static final int COLLECT_REPEAT = 1;
	
	public final static String CHARATER_SET_UTF_8 = "UTF-8";

	public static final String EXAM_TYPE_ALL = "all";
	    
}
